const { ccclass, property } = cc._decorator;

@ccclass
export default class ScrapingCardRewardtem extends cc.Component {
    ScrapingCardRewardtem: cc.Node = null;
    bg: cc.Node = null;
    reward: cc.Node = null;
    cashNode: cc.Node = null;
    cashCountLabel: cc.Node = null;
    RICHTEXT_CHILD: cc.Node = null;

    onLoad() {
        this.ScrapingCardRewardtem = this.node;
        this.bg = this.ScrapingCardRewardtem.getChildByName("bg");
        this.reward = this.ScrapingCardRewardtem.getChildByName("reward");
        this.cashNode = this.ScrapingCardRewardtem.getChildByName("cashNode");
        this.cashCountLabel = this.cashNode.getChildByName("cashCountLabel");
        this.RICHTEXT_CHILD = this.cashCountLabel.getChildByName("RICHTEXT_CHILD");
    }

    static URL = "db://assets/resources/prefabs/ScrapingCardRewardtem.prefab";
}
